<%@ page contentType="text/html;charset=UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link type="text/css" rel="stylesheet" href="${ctx}/themes/css/default/frame.css" />
<script type="text/javascript" src="${ctx}/js/jquery/jquery.js"></script>
<script type="text/javascript" language="javascript">
var ctx = "${ctx}";
var url = "${param.url}";
function init() {
	$("#mainFrame").height(this.dialogWidth);
	$("#mainFrame").attr("src", url);
	$('#mainFrame').css('height', $(this).height());
}
function callback(result) {
	window.returnValue = result;
	this.close();
}
window.returnValue = false;
</script>
<title>无标题文档</title>
<style>
body { margin:0px auto; padding:0px; }
#mainFrame { width:100%; height:100%; }
</style>
</head>

<body onload="init()">
<iframe id="mainFrame" frameborder="0" scrolling="no"></iframe>
</body>
</html>
